﻿@{
    ViewBag.Title = "航次列表";
    List<ReportAnalysisListModel> list = ReportAnalysisListModel.ConvertModel((List<ReportAnalysis>)ViewData["Data"]);
}
<div id="content" class="content">
    <!-- begin breadcrumb -->
    <ol class="breadcrumb pull-right">
        <li><a href="javascript:;">航次列表</a></li>
    </ol>
    <!-- end breadcrumb -->
    <!-- begin page-header -->
    <!-- end page-header -->
    <!-- begin row -->
    <div class="row">
        <!-- begin col-12 -->
        <div class="col-md-12">
            <!-- begin panel -->
            <div class="panel panel-inverse">
                <div class="panel-body">
                    <div class="table-responsive">
                        <table id="data-table" class="table table-striped table-bordered">
                            <thead>
                            <tr>
                                <th>航次号</th>
                                <th>船名</th>
                                <th>航行状态</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach (var data in list)
                            {
                                <tr class="odd ">
                                    <td><a href="@Url.Action("ReportAnalysisDetail","Home",new {id=data.Id})">@data.VoyageNo</a></td>
                                    <td>@data.ShipName</td>
                                    <td>@data.SailEnd</td>
                                </tr>
                            }
                          
                            @*<tr class="odd ">
                                <td><a href="#">Crident</a></td>
                                <td>Internet Explorer 4.0</td>
                                <td>否</td>
                                <td>2016-05-11 11:12:24</td>
                            </tr>
                            <tr class="odd ">
                                <td><a href="#">Trident</a></td>
                                <td>Internet Explorer 4.0</td>
                                <td>是</td>
                                <td>2016-05-03 11:12:24</td>
                            </tr>*@
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <!-- end panel -->
        </div>
        <!-- end col-12 -->
    </div>
    <!-- end row -->
</div>

@section footer {  
<script>
    $(document).ready(function () {
			App.init();
			TableManageDefault.init();
		});
</script>
}
